<template>
  <div class="gl_contentBox gl_heightFull">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="赛事" name="first">
        <Match />
      </el-tab-pane>
      <el-tab-pane label="组别" name="second">
        <Group />
      </el-tab-pane>
      <el-tab-pane label="人员等级" name="third">
        <PersonnelLevel />
      </el-tab-pane>
      <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Match from './Match/index';
import Group from './Group/index';
import PersonnelLevel from './personnelLevel/index';

export default {
  name: 'Account',
  components: {
    Match,
    Group,
    PersonnelLevel
  },
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

